<div class="am-u-sm-12 widget main-w">
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('/admin/menu/index')}">系统管理</a></li>
		<li class="am-active">区域</li>
	</ol>
	<div class="am-u-sm-12 cl-p">
		<div class="widget am-u-sm-12 cl-p">
			<div class="am-btn-group am-u-sm-12 am-btn-group-xs cl-p">
				<a href="{:url('add')}" class="am-btn am-btn-default"><span class="am-icon-plus"></span> 添加</a>
			</div>
			<div class="am-u-sm-12 am-form-group cl-p">
				<table width="100%" class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped am-text-truncate tpl-table-black">
					<thead>
						<tr>
							<th>区域</th>
							<th>代号</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						{foreach $list as $key => $item}
						<tr class="gradeX">
							<td>{:str_repeat('├  ', $item.level)} {$item.area_name}</td>
							<td>{$item.area_code}</td>
							<td>
								<div class="tpl-table-black-operation">
									<a href="{:url('edit',['area_id'=>$item.area_id])}">
										<i class="am-icon-pencil"></i> 编辑
									</a>
									
								</div>
							</td>
						</tr>
						{/foreach}
					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>